Skip to main content

Message Types

A message type is the type of the message logged in a transaction. One transaction may consist of many message types. The message types are created in the administration web interface and used when logging to the logging API. Click Administration menu → Message Types. CRUD operations is also available from the configuration api

Create Messagetype

img

To add a new message type enter a name and click "add". If using a messagetype when logging the type must be pre-created in the subscription or an error will be thrown from the logging API.

Edit Messagetype

img

To edit an existing message type click "edit". Since the logging API are using name, remember that a change of name may affect the logging.

Delete Messagetype

img

To delete an existing message type click "delete". Remember that a deletion may affect the logging if the messagetype is used when logging.

Example

Example value for the messagetype used in the json data format supplied to the API.

[
{
"transactionId": "4163EBF5-0489-4569-B3BF-9D779593EE7B",
"transactionType": "DeliveryMessage",
"messageType": "PapinetEnvelope",
"processed": "2022-01-15T10:23:32.2407737+00:00",
"status": "Success"
}
]